/* 表格列宽度200px溢出隐藏 */
.col-sql {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    width: 200px;
}

/* 文本溢出点点点显示 */
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 查询界面 - 查询条件栏 */
.common-query-header {
    height: 64px;
    padding: 0 24px;
    line-height: 64px;
}

.common-query-input {
    width: 150px;
    margin-right: 15px;
}

/* 分割线 */
.common-query-split-line {
    width: 100%;
    height: 10px;
    background: #F5F7FE;
}

/* 拖拽该表div宽度或者高度 */
.common-v-resize,
.common-h-resize {
    user-select: none;
    background: #F5F7FE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.common-v-resize-hover,
.common-v-resize:hover>div,
.common-h-resize-hover,
.common-h-resize:hover>div {
    background: #007AFF;
    border-radius: 1px;
}

.common-v-resize {
    height: 100%;
    width: 6px;
    cursor: e-resize;
}

.common-v-resize-hover,
.common-v-resize:hover>div {
    height: 99%;
    width: 2px;
}

.common-h-resize {
    height: 6px;
    width: 100%;
    cursor: n-resize;
}

.common-h-resize-hover,
.common-h-resize:hover>div {
    width: 99%;
    height: 2px;
}

.common-card-left-split-line {
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    position: absolute;
    background: #F5F7FE;
}

.common-card-right-split-line {
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    position: absolute;
    background: #F5F7FE;
}

/* 分页默认样式修改 */
.ant-pagination-item-active {
    background: #007AFF !important;
    border-color: #007AFF !important;
}

.ant-pagination-item-active a {
    color: #fff !important;
}

.table-body-height .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
    height: 1000px !important;
}


/* card左侧绿色竖杠 */
.card-title-left-icon {
    position: relative;
    padding-left: 12px;
}

.card-title-left-icon div:nth-child(1) {
    width: 5px;
    height: 16px;
    background: #007AFF;
    position: absolute;
    left: 0;
    top: 3px;
}

/* card左侧图标 */
.card-title-left-img,
.common-card-title-img {
    display: flex;
    align-items: center;
}

.card-title-left-img img,
.common-card-title-img img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* 自定义form-item-label */
.custom-form-item-label {
    display: inline-block;
    border: 1px solid #d9d9d9;
    border-right: 0;
    width: 72px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 4px 0 0 4px;
}

.custom-form-item-input.ant-input-affix-wrapper .ant-input,
.ant-input.custom-form-item-input,
.custom-form-item-input.ant-select .ant-select-selection {
    border-radius: 0 4px 4px 0;
}

/*修改lable*/
.form-lable label {
    display: inline-block;
    width: 100%;
    height: 32px;
    border: 1px solid #E5E5E5;
    /* margin-top: 4px; */
    line-height: 32px;
    border-right: 0;
    text-align: center;
}

.d-form-lable {
    display: inline-block;
    /* width: 100%; */
    height: 32px;
    border: 1px solid #E5E5E5;
    margin-top: 4px;
    line-height: 32px;
    border-right: 0;
    text-align: center;
}

/* 单个日期 */
.custom-one-date.ant-calendar-picker .ant-input {
    border-radius: 0 4px 4px 0;
}

/* 开始日期 */
.custom-start-date.ant-calendar-picker .ant-input {
    border-radius: 0;
    border-right: 0;
}

/* 到 */
.custom-form-item-label.custom-form-label-date {
    border-radius: 0;
    border-left: 0;
    width: 16px;
}

/* 结束日期 */
.custom-end-date.ant-calendar-picker .ant-input {
    border-radius: 0 4px 4px 0;
    border-left: 0;
}

/* 表格行超出内容自动换行 */
.ant-table-content .ant-table-tbody tr td {
    /* padding: 0 10px !important; */
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
}

.ant-table-content .ant-table-header tr th {
    padding: 0 10px !important;
}


/* 隐藏滚动条 */
.scroll-bar-none::-webkit-scrollbar {
    display: none
}


/* 滚动条样式 */
.scroll-bar-style::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 2px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 4px;
    background-color: #F5F5F5;
}

.scroll-bar-style::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 6px #f1f1f1;
    border-radius: 4px;
    background-color: #F5F5F5;
    cursor: move;
}

.scroll-bar-style::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
    background: rgba(0, 0, 0, .2);
}

.grayCard .ant-card-head {
    background: #F5F4F4;
}

.greeTab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {
    margin-right: 20px !important;
    background: #fff !important;
    padding: 0 25px !important;
}

.greeTab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
    background: #007AFF !important;
    color: #fff !important;
}

.greeTab .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container {
    margin-bottom: 20px !important;
}

/* 弹窗表单差异比较 */
.common-diff-modal-list .common-diff-modal-list-item {
    width: 100%;
    height: 32px;
    line-height: 32px;
    border-bottom: 1px solid #e8e8e8;
}

.common-diff-modal-list .common-diff-modal-list-item span {
    display: inline-block;
    width: 40%;
    text-align: center;
}

.common-diff-modal-list .common-diff-modal-list-item span:first-child {
    width: 20%;
}

/* 简单查询界面查询条件样式 */
.query-table-header {
    width: 100%;
    height: 64px;
    padding: 16px 24px;
    box-sizing: border-box;
}

/* 按钮去除获取焦点及鼠标移入样式 */
.add-btn.ant-btn {
    color: #fff;
    background: rgba(247, 128, 93, 1);
    border-color: rgba(247, 128, 93, 1);
}

.common-color999 {
    color: #999;
    cursor: no-drop;
}

.common-color333 {
    color: #333;
    cursor: pointer;
}

.common-number {
    color: #fa8c17;
    font-weight: 700;
}

/* 列颜色备注样式 */
.common-record-color-notes {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 2px;
}

.common-record-color-notes-rect {
    display: inline-block;
    width: 22px;
    height: 8px;
    margin-right: 6px;
}

/* 展开关闭icon样式 */
.common-card-hide-icon {
    color: #999;
    cursor: pointer;
    padding: 6px;
    font-size: 14px;
    box-shadow: -2px 2px 4px 0px rgba(51, 51, 51, 0.15);
}

.common-card-show-icon {
    box-shadow: 2px 1px 4px 0px rgba(51, 51, 51, 0.15);
}

.common-input-label {
    font-weight: normal;
    color: rgba(0, 0, 0, 0.85);
}

/* table子表头添加竖线分割 - 可以明显的看出来是一个模块 */
.common-table-children-first-td {
    border-left: 1px solid #333;
}

/* 右键菜单 */
.common-right-menu-wrap {
    z-index: 100;
    position: fixed;
    width: 180px;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    padding: 6px;
    background: #fff;
    box-shadow: 0px 0 10px 0px rgba(0, 0, 0, 0.15);
}

.common-right-menu-option {
    width: 100%;
    height: 36px;
    line-height: 36px;
    padding: 0 10px;
    cursor: pointer;
}

.common-right-menu-option i {
    font-size: 16px;
    margin-right: 12px;
}

.common-right-menu-option:hover {
    background-color: #f4f4f4;
    border-radius: 6px;
}